package com.gushenge.core.beans

import com.chad.library.adapter.base.entity.node.BaseExpandNode
import com.chad.library.adapter.base.entity.node.BaseNode
import java.io.Serializable

data class Small(
        var data: ArrayList<Data> = arrayListOf(),
        var id: String,
        var pid: String,
        var reg_time: String,
        var uid: String,
        var user_name: String
) : BaseExpandNode(), Serializable {
    data class Data(
            var gid: String,
            var gname: String,
            var level: String,
            var role_name: String
    ) :BaseNode(),  Serializable  {
        override val childNode: MutableList<BaseNode>?
            get() = null
    }

    override val childNode: MutableList<BaseNode>?
        get() = data as MutableList<BaseNode>?
}